
import { _decorator, Component, Node, LabelComponent, UIOpacity, Sprite } from 'cc';
const { ccclass, property, type } = _decorator;

@ccclass('ListItem')
export class LIstItem extends Component {

    @type(LabelComponent)
    label: LabelComponent = null!;

    start() {
    }

    public setData(data: any) {
        this.label.string = data;
    }
}
